package org.jeecg.modules.wlhy.order.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.wlhy.customer.entity.HyCustomerAddressReceive;
import org.jeecg.modules.wlhy.order.entity.HyOrderReceiveAddress;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * @Description: hy_order_receive_address
 * @Author: jeecg-boot
 * @Date:   2021-09-10
 * @Version: V1.0
 */
public interface HyOrderReceiveAddressMapper extends BaseMapper<HyOrderReceiveAddress> {

    void deleteByOrderId(@Param("orderId")String orderId);

    //通过orderId获取订单对应的收货电子围栏区域
    List<HyCustomerAddressReceive> getShippingFenceByOrderId(@Param("orderId")String orderId);
}
